ul {
margin:0;
padding:0;
list-style: none;
width: 200px;
border-bottom: 1px solid #CCC
}
ul li {
position: relative;
}

li ul  {
position: absolute;
left: 199px;
top: 0;
display: none;
}

ul li a{
display:block;
text-decoration: none;
color: #060;
padding: 5px;
border: 1px solid #CCC;
border-bottom: 0;
}

li:hover ul {display:block; }
ul li a:hover{
color: #0C0 
}